package com.sky.service.Employee;

import com.sky.dto.empployee.EmployeeDTO;
import com.sky.dto.empployee.EmployeeLoginDTO;
import com.sky.dto.empployee.EmployeePageQueryDTO;
import com.sky.dto.empployee.EmployeeUpdatePassWordDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import com.sky.result.Result;

import java.util.List;

/**
 * @Author 褚金龙
 * @Date 2024/8/28 17:49
 */
public interface EmployeeService {
    //登录
    public Result login(EmployeeLoginDTO employeeLoginDTO) ;
    //添加员工

    public void addEmp(EmployeeDTO employeeDTO);


     //分页查询
     PageResult pageQueryService(EmployeePageQueryDTO employeePageQueryDTO);
    //根据id查询员工
    Employee selectId(Long id);

    //修改员工
  public   void update(Employee employee);

  //修改员工状态
    void statusEmpService(Integer status, Integer id);

    void deleteEmpService(Integer id);

    void EditPassWordService(EmployeeUpdatePassWordDTO employeeUpdatePassWordDTO);
}
